package cn.cau.service.impl;

import cn.cau.dao.RuleCategoryDao;
import cn.cau.entity.RuleCategory;
import cn.cau.service.RuleCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RuleCategoryServiceImpl implements RuleCategoryService {
    @Autowired
    RuleCategoryDao ruleCategoryDao;
    @Override
    public List<RuleCategory> findAllRuleCategorys(){
        return ruleCategoryDao.findAllRuleCategorys();
    }
}
